README for replication files, "Descriptive Representation and Judicial Outcomes in Multi-Ethnic Societies"

Raw Data File:
Israel district appeals.dta 

Source code files (all written in R):
1. raw_tables.R - generates Tables 3,4, 7, and 8.
2. clean_and_impute.R - cleans up data and imputes missing values.  Creates the .Rdata file imputed_data.Rdata, 
	which is used by the modelling code (files numbered 3 through 7 below).
3. balance_regressions.R - fits regressions to check identification assumptions and generates Tables 9 and 10.
4. leniency_model.R - fits the model for leniency and generates Tables 5 and 13 and the first plot in Figure 1.  
	NOTE: THIS CODE REQUIRES A LONG TIME TO EXECUTE and it should be run in the background.
5. harshness_model.R - fits the model for harshness and generates Tables 6 and 14 and the second plot in Figure
	1.  NOTE: THIS CODE REQUIRES A LONG TIME TO EXECUTE and it should be run in the background.
6. incarceration_model.R - fits the model for incarceration and generates Tables 11 and 15 and the first plot 
	in Figure 2.  NOTE: THIS CODE REQUIRES A LONG TIME TO EXECUTE and it should be run in the background.
7. prison_term_model.R - fits the model for prison term and generates Table 12 and the second plot in Figure 2.
8. colnames2labels.R - helper code that provides functions for formatting tables, used by other files.